package nc.impl.arap.gd.service;


import java.util.List;

import nc.bs.dao.BaseDAO;
import nc.itf.arap.gd.service.IBasedocGDCSQueryService;
import nc.jdbc.framework.processor.BeanListProcessor;
import nc.vo.pub.BusinessException;

public class BasedocGDCSQueryServiceImpl implements IBasedocGDCSQueryService {
	private BaseDAO gdlybasedao;

	public BaseDAO getGDBaseDAO(){
		if(gdlybasedao == null){
			gdlybasedao = new BaseDAO("gdly");
		}
		return gdlybasedao;
	}
	@Override
	public List gdly_executeQuery__RequiresNew(String sql,Class voclass)
			throws BusinessException {
		return (List)getGDBaseDAO().executeQuery(sql,new BeanListProcessor(voclass));
	}
	
}
